import request from 'src/utils/request'
const base = import.meta.env.DEV ? 'http://localhost:3019/limen' : ''
// const base_1 = import.meta.env.DEV ? 'http://localhost:3019/zhoupan' : ''
// const base_2 = import.meta.env.DEV ? 'http://localhost:3019/shenwenyi' : ''

// 数据大屏 设备接口
export function equipmentStatistics(data) {
    return request({
        url: '/serve/equipment/statistics',
        method: 'post',
        data
    })
}

// 数据大屏 人流量上面图表的接口
export function visitorStatistics(data) {
    return request({
        // url: base +'/pay/gateway/config/gatewayTraffic',
        url: '/pay/gateway/config/gatewayTraffic',
        method: 'post',
        data
    })
}

// 数据大屏 访客的接口
export function visitorNum(data) {
    return request({
        // url: base +'/resource/statistics/visitor',
        url: '/resource/statistics/visitor',
        method: 'post',
        data
    })
}
// 数据大屏 不同通行方式人员占比
export function gatewayRateStatistics(data) {
    return request({
        // url: base + '/pay/gateway/config/gatewayRate',
        url: '/pay/gateway/config/gatewayRate',
        method: 'post',
        data
    })
}


